package com.jackson.spring.beandemo.beancollection;

import java.util.List;
import java.util.Map;


public class Person {

	private String name;
	private String sex;
	private int age;
	private List cars;
	private Map mapCar;
	
	
	
	public List getCars() {
		return cars;
	}
	public void setCars(List cars) {
		this.cars = cars;
	}
	public Map getMapCar() {
		return mapCar;
	}
	public void setMapCar(Map mapCar) {
		this.mapCar = mapCar;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	@Override
	public String toString() {
		return "Person [name=" + name + ", sex=" + sex + ", age=" + age
				+ ", cars=" + cars + ", mapCar=" + mapCar + "]";
	}
	
	
	
}
